package com.situ.vivamarket.service;

import com.github.pagehelper.Page;
import com.situ.vivamarket.model.Admin;
import com.situ.vivamarket.model.Brand;
import com.situ.vivamarket.model.search.BrandSearchBean;

import java.util.List;

public interface BrandService {
    List<Brand> getAllBrands(BrandSearchBean asb, Page<?> p);

    int deleteByIds(Integer[] ids);

    boolean add(Brand brand);

    Brand findById(Integer id);

    boolean update(Brand brand);
}
